//ToDo 数组
fun main() {
    //第一种写法
    var numbers: Array<Int> = arrayOf(1, 2, 3, 4, 5)
    for (number in numbers) {
        println(number)
    }
    //第二种写法
    var numbers2 = Array(5, {value -> (value + 1000)})
    for (i in numbers2) {
        println(i)
    }
}